class CreateOaiEndpoints < ActiveRecord::Migration
  def self.up
    create_table :oai_endpoints do |t|
      t.string :uri, :limit => 2083
      t.string :display_uri, :limit => 2083
      t.string :metadata_prefix
      t.string :title, :limit => 1000
      t.string :short_title, :limit => 100
    end
  end
  
  def self.down
    drop_table :oai_endpoints
  end
end
